﻿@model PagedList<Customer>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/css/select.css" rel="stylesheet" type="text/css" />
    <link href="/css/userinfostyle.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/js/jquery.js"></script>
    <script src="/js/jquery.form.js"></script>
    <script type="text/javascript" src="/js/jquery.idTabs.min.js"></script>
    <script type="text/javascript" src="/js/select-ui.min.js"></script>
    <script src="/js/dateFormat.js"></script>
    <script language="javascript">
        $(function () {
            //导航切换
            $(".imglist li").click(function () {
                $(".imglist li.selected").removeClass("selected")
                $(this).addClass("selected");
            })
        })
    </script>
    <script type="text/javascript">




        $(document).ready(function () {

            var api = {
                edit: "/user/edit",
                del: "/user/del"
            };

            $('#form1').attr('action', api.edit);
            $('#form2').attr('action', api.edit);
            $('#form3').attr('action', api.edit);
             
            $(".click").click(function () {
                $(".tip").fadeIn(200);
            });

            $(".tiptop a").click(function () {
                $(".tip").fadeOut(200);
            });

            $(".sure").click(function () {
                $(".tip").fadeOut(100);
            });

            $(".cancel").click(function () {
                $(".tip").fadeOut(100);
            });

            //用户添加
            $(".clicka").click(function () {
                $(".tipa").fadeIn(200);
            });
            $(".tiptopa a").click(function () {
                $(".tipa").fadeOut(200);
            });

            ///提交
            $(".surea").click(function () {
                $('#form1').ajaxSubmit({
                    success: function (data) {
                        if (data.Succeed) {
                            window.location.reload();
                        } else {
                            alert(data.Msg);
                        }
                    }
                })
            });


            $(".cancela").click(function () {
                $(".tipa").fadeOut(100);
            });

            //分表添加
            $(".clickfh").click(function () { 
                $(".tipfh").fadeIn(200);
                $('#form3 input[type="text"]').val('');
                $('#form3 input:first').blur(function () { getParentMeter(this); });
            });

            $(".tiptopfh a").click(function () {
                $(".tipfh").fadeOut(200);
            });


            ///分表添加
            $(".surefh").click(function () {
                $('#form3').ajaxSubmit({
                    success: function (data) {
                        if (data.Succeed) {
                            window.location.reload();
                        } else {
                            alert(data.Msg);
                        }
                    }
                })
            });




            $(".cancelfh").click(function () {
                $(".tipfh").fadeOut(100);
            });

            //删除用户
            $(".clickdel").click(function (del) { 
                var count = $("input:checked").length;
                if (count < 1) {
                    alert("至少选择一项进行删除！");
                }
                else if (count > 1) {
                    alert("只能选择一项进行修改！");
                }
                else {
                    $(".tipdel").fadeIn(200);
                } 
            });

            $(".tiptopdel a").click(function (del) {
                $(".tipdel").fadeOut(200);
            });

            $(".suredel").click(function (del) {
                $obj = JSON.parse($("input:checked").parents("tr").attr('jsonModel'));
                $.post("/user/del", { id: $obj.Id }, function (data) {
                    $(".tipdel").fadeOut(100);
                    window.location.reload();
                }, 'json') 
            });

            $(".canceldel").click(function (del) {
                $(".tipdel").fadeOut(100);
            });

            //修改用户
            $(".clickmodify").click(function () {
                var count = $("input:checked").length;
                if (count < 1) {
                    alert("至少选择一项进行修改！");
                }
                else if (count > 1) {
                    alert("只能选择一项进行修改！");
                }
                else {
                    $(".tipmodify").fadeIn(200);

                    model = JSON.parse($("input:checked").parents("tr").attr("jsonModel"));
                    $('#form2').find("input[name='Id']").val(model.Id);

                    //将二级选项选中的值给赋值上 供回调使用
                    $('#form2').find("select[name='FirstArea']").attr('secondArea', model.SecondArea);
                    $('#form2').find("select[name='FirstArea']").find("option[value='" + model.FirstArea + "']").attr("selected", true);
                    $('#form2').find("select[name='FirstArea']").trigger("change");
                    $('#form2').find("select[name='FirstArea']").prev().find("em:first").text($('#form2').find("select[name='FirstArea']").find("option:selected").text());

                    if (model.WaterTypeId) {
                        $('#form2').find("select[name='WaterTypeId']").find("option[value='" + model.WaterTypeId + "']").attr("selected", true);
                        $('#form2').find("select[name='WaterTypeId']").prev().find("em:first").text($('#form2').find("select[name='WaterTypeId']").find("option:selected").text());
                    }

                    $('#form2').find("input[name='CustomerId']").val(model.CustomerId);
                    $('#form2').find("input[name='CustomerName']").val(model.CustomerName);

                    $('#form2').find("input[name='PersonId']").val(model.PersonId);
                    $('#form2').find("input[name='LinkPhone']").val(model.LinkPhone);

                    $('#form2').find("select[name='CustomerStat']").find("option[value='" + model.CustomerStat + "']").attr("selected", true);
                    $('#form2').find("select[name='CustomerStat']").prev().find("em:first").text($('#form2').find("select[name='CustomerStat']").find("option:selected").text());

                    $('#form2').find("select[name='HouseType']").find("option[value='" + model.HouseType + "']").attr("selected", true);
                    $('#form2').find("select[name='HouseType']").prev().find("em:first").text($('#form2').find("select[name='HouseType']").find("option:selected").text());

                    $('#form2').find("select[name='MeterNature']").find("option[value='" + model.MeterNature + "']").attr("selected", true);
                    $('#form2').find("select[name='MeterNature']").prev().find("em:first").text($('#form2').find("select[name='MeterNature']").find("option:selected").text());

                    $('#form2').find("select[name='ReadPersonId']").find("option[value='" + model.ReadPersonId + "']").attr("selected", true);
                    $('#form2').find("select[name='ReadPersonId']").prev().find("em:first").text($('#form2').find("select[name='ReadPersonId']").find("option:selected").text());
                     

                    $('#form2').find("select[name='MeterNature']").find("option[value='" + model.MeterNature + "']").attr("selected", true);
                    $('#form2').find("select[name='MeterNature']").prev().find("em:first").text($('#form2').find("select[name='MeterNature']").find("option:selected").text());


                    $('#form2').find("input[name='DetailAddress']").val(model.DetailAddress);
                    $('#form2').find("input[name='MeterNo']").val(model.MeterNo);
                    $('#form2').find("input[name='MeterStart']").val(model.MeterStart);
                    $('#form2').find("input[name='DESCRIPTION']").val(model.DESCRIPTION);

                    if (model.OpenAccountDate) {
                        var date = new Date(model.OpenAccountDate);
                        var formatDate = date.format("yyyy/MM/dd");
                        $('#form2').find("select[name='OpenAccountDate']").find("option[value='" + formatDate + "']").attr("selected", true);
                        $('#form2').find("select[name='OpenAccountDate']").prev().find("em:first").text($('#form2').find("select[name='OpenAccountDate']").find("option:selected").text());
                    }
                    if (model.ParentId) {
                        $('#form2').find("input[name='ParentId']").val(model.ParentId);
                    }  
                }

            });

            $(".tiptopmodify a").click(function () {
                $(".tipmodify").fadeOut(200);
            });

            $(".suremodify").click(function () {
                $('#form2').ajaxSubmit({
                    success: function (data) {
                        if (data.Succeed) {
                            window.location.reload();
                        } else {
                            alert(data.Msg);
                        }
                    }
                })
            });

            $(".cancelmodify").click(function () {
                $(".tipmodify").fadeOut(100);
            });

            //修改分表
            $(".clickfhmodify").click(function () {
                $(".tipfhmodify").fadeIn(200);
            });

            $(".tiptopfhmodify a").click(function () {
                $(".tipfhmodify").fadeOut(200);
            });

            $(".surefhmodify").click(function () {
                $(".tipfhmodify").fadeOut(100);
            });

            $(".cancelfhmodify").click(function () {
                $(".tipfhmodify").fadeOut(100);
            });

        });

        ///获得父表信息
        function getParentMeter(obj) {
            $.post('/user/FindByCustomerId', { customerId: $(obj).val() }, function (data) {
                if (data.Succeed) {
                    $(obj).parents('form').find('input[name="ParentId"]').val(data.Obj.Id);
                    $(obj).parents('ul').find('input[name="cutomerName1"]').val(data.Obj.Name);
                }
                else {
                    $(obj).parents('ul').find('input[name="cutomerName1"]').val(''); 
                    window.alert("指定编号的用户不存在！"); 
                }
            }, 'json')
        }

    </script>
    <script type="text/javascript">
        $(document).ready(function (e) {
            $(".select1").uedSelect({
                width: 345
            });
            $(".select2").uedSelect({
                width: 167
            });
            $(".select3").uedSelect({
                width: 150
            });
        });
    </script>
</head>
<body>
    <div class="place">
        <span>位置：</span>
        <ul class="placeul">
            <li><a href="#">首页</a></li>
            <li><a href="#">用户管理</a></li>
            <li><a href="#">用户添加</a></li>
        </ul>
    </div>
    <div class="rightinfo">
        <div class="tools">
            <ul class="toolbar">
                <li class="clicka"><span><img src="/images/t01.png" /></span>添加</li>
                <li class="clickfh"><span><img src="/images/t01a.png" /></span>添加分表</li>
                <li class="clickmodify"><span><img src="/images/t02.png" /></span>修改</li>
                <li class="clickdel"><span><img src="/images/t03.png" /></span>删除</li>
            </ul>

        </div>
        <table class="imgtable">
            <thead>
                <tr>
                    <th>选择</th>
                    <th>用户编号</th>
                    <th>用户姓名</th>
                    <th>身份证号</th>
                    <th>联系电话</th>
                    <th>区域分布</th>
                    <th>区域名称</th>
                    <th>详细地址</th>
                    <th>水表编号</th>
                    <th>水表初值</th>
                    <th>用户状态</th>
                    <th>房屋类型</th>
                    <th>用水类别</th>
                    <th>水表性质</th>
                    <th>分表？</th>
                    <th>抄表人员</th>
                    <th>开户日期</th>
                    <th>备注</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var item in Model)
                {

                    <tr jsonModel="@(JsonConvert.SerializeObject(item))">
                        <td><input name="" type="checkbox" value="@(item.Id)" /></td>
                        <td>@(item.CustomerId)</td>
                        <td height="30px;">@(item.CustomerName)</td>
                        <td><a href="#">@(item.PersonId)</a></td>
                        <td>@(item.LinkPhone)</td>
                        <td>@(item.FirstArea)</td>
                        <td>@(item.SecondArea)</td>
                        <td>@(item.DetailAddress)</td>
                        <td>@(item.MeterNo)</td>
                        <td>@(item.MeterStart)</td>
                        <td>@(((Customer.CustomStatEnum)item.CustomerStat).ToDescription())</td>
                        <td>@(((Customer.HouseTypeEnum)item.HouseType).ToDescription())</td>
                        <td>@(item.WaterType?.TypeName)</td>
                        <td>@(((Customer.MeterNatureEnum)item.MeterNature).ToDescription())</td>
                        <td>@(item.ParentId==null?"-":"分表")</td>
                        <td>@(item.EmployeeInfo?.NAME)</td>
                        <td>@(item.OpenAccountDate?.ToString("yyyy/MM/dd"))</td><td>
                        @(item.DESCRIPTION)
                        </td>
                    </tr>
                }

            </tbody>
        </table>
        <div class="pagin">
            <div class="message">共<i class="blue">@(Model.TotalItemCount)</i>条记录，共&nbsp;<i class="blue">@(Model.TotalPageCount)&nbsp;</i>页</div>
            @Html.Pager(Model, BaseController.PagerOptions)
        </div>
        <!--用户添加-->
        <form id="form1" method="post">
            <div class="tipa">
                <div class="tiptopa"><img src="/images/t06.png" /><span>用户添加</span><a></a></div>
                <div class="tipinfoa">
                    <div class="tiprighta">
                        <ul class="seachform">
                            <li>
                                <label>用户编号</label>
                                <input name="CustomerId" type="text" class="scinput" />
                            </li>
                            <li>
                                <label>用户姓名</label>
                                <input name="CustomerName" type="text" class="scinput" />
                            </li>
                            <li>
                                <label>身份证号</label>
                                <input name="PersonId" type="text" class="scinput" />
                            </li>
                            <li>
                                <label>联系电话</label>
                                <input name="LinkPhone" type="text" class="scinput" />
                            </li>

                            @Html.Action("_LinkArea", "Common")

                            <li>
                                <label>详细地址</label>
                                <input name="DetailAddress" type="text" class="scinput" />
                            </li>
                            <li>
                                <label>水表编号</label>
                                <input name="MeterNo" type="text" class="scinput" />
                            </li>
                            <li>
                                <label>水表初值</label>
                                <input name="MeterStart" type="text" class="scinput" />
                            </li>
                            <li>
                                <label>用户状态</label>
                                <div class="vocation">
                                    @Html.Action("_EnumSelect", "Common", new { className = "Customer+CustomStatEnum", namespaces = "Kongt.Model", name = "CustomerStat", cssClass = "select3" })
                                </div>
                            </li>
                            <li>
                                <label>房屋类型</label>
                                <div class="vocation">
                                    @Html.Action("_EnumSelect", "Common", new { className = "Customer+HouseTypeEnum", namespaces = "Kongt.Model", name = "HouseType", cssClass = "select3" })
                                </div>
                            </li>
                            @Html.Action("_WaterType", "Common", new { id = "addsellssss" })
                            <li>
                                <label>抄表人员</label>
                                <div class="vocation">
                                    @Html.Action("_Employees", "Common", new { cssClass = "select3" })
                                </div>
                            </li>
                            <li>
                                <label>开户日期</label>
                                <div class="vocation">
                                    <select class="select3" name="OpenAccountDate">
                                        @{
                                            var dateStart = DateTime.Now.AddDays(-DateTime.Now.Day).AddDays(1);
                                            var dateEnd = DateTime.Now.AddMonths(1).AddDays(-DateTime.Now.Day);
                                            var tempDate = dateStart;
                                        }
                                        <option value="">请选择</option>
                                        @while (tempDate >= dateStart && tempDate <= dateEnd)
                                        {
                                        <option value="@(tempDate.ToString("yyyy/MM/dd"))">@tempDate.ToString("yyyy年MM月dd日")</option>
                                            tempDate = tempDate.AddDays(1);
                                        }
                                    </select>
                                </div>
                            </li>
                            <li>
                                <label>水表性质</label>
                                <div class="vocation">
                                    @Html.Action("_EnumSelect", "Common", new { className = "Customer+MeterNatureEnum", namespaces = "Kongt.Model", name = "MeterNature", cssClass = "select3" })
                                </div>
                            </li> 

                            <li>
                                <label>备注信息</label>
                                <input name="DESCRIPTION" type="text" class="scinputbz" />
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="tipbtna">
                    <input name="" type="button" class="surea" value="添加" />
                    &nbsp;
                    <input name="" type="button" class="cancela" value="取消" />
                </div>
            </div>
        </form>
    </div>
    <form method="post" id="form3">
        <!--分户添加-->
        <div class="tipfh">
            <div class="tiptopfh"><img src="/images/t06.png" /><span>分表添加</span><a></a></div>
            <div class="tipinfofh">
                <div class="userinfozb">
                    <dt class="userinfozbtit">总表信息</dt>
                    <ul>
                        <li>
                            <label>用户编号</label>
                            <input name="" type="text" class="scinput" />
                           
                        </li>
                        <li>
                            <label>&nbsp;&nbsp;用户姓名</label>
                            <input name="cutomerName1" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>&nbsp;水表性质</label>
                            <input name="" type="text" value="总表" class="scinput" disabled="disabled" style="background:#EFEFEF" />
                        </li>
                    </ul>
                </div>
                <div class="tiprightfh">
                    <dt class="userinfofhtit">分表信息</dt>
                    <ul class="seachform">
                        <li>
                            <label>用户编号</label>
                            <input name="CustomerId" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>用户姓名</label>
                            <input name="CustomerName" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>身份证号</label>
                            <input name="PersonId" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>联系电话</label>
                            <input name="LinkPhone" type="text" class="scinput" />
                        </li>

                        @Html.Action("_LinkArea", "Common", new { firstAreaId = "asdfasdfasdf11111asdf", secondAreaId = "bdss222222ssss" })

                        <li>
                            <label>详细地址</label>
                            <input name="DetailAddress" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>水表编号</label>
                            <input name="MeterNo" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>水表初值</label>
                            <input name="MeterStart" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>用户状态</label>
                            <div class="vocation">
                                @Html.Action("_EnumSelect", "Common", new { className = "Customer+CustomStatEnum", namespaces = "Kongt.Model", name = "CustomerStat", cssClass = "select3" })
                            </div>
                        </li>
                        <li>
                            <label>房屋类型</label>
                            <div class="vocation">
                                @Html.Action("_EnumSelect", "Common", new { className = "Customer+HouseTypeEnum", namespaces = "Kongt.Model", name = "HouseType", cssClass = "select3" })
                            </div>
                        </li>
                        @Html.Action("_WaterType", "Common", new { id = "addsel222323lssss" })
                        <li>
                            <label>抄表人员</label>
                            <div class="vocation">
                                @Html.Action("_Employees", "Common", new { cssClass = "select3" })
                            </div>
                        </li>
                        <li>
                            <label>开户日期</label>
                            <div class="vocation">
                                <select class="select3" name="OpenAccountDate">
                                    @{
                                        var dateStart5 = DateTime.Now.AddDays(-DateTime.Now.Day).AddDays(1);
                                        var dateEnd5 = DateTime.Now.AddMonths(1).AddDays(-DateTime.Now.Day);
                                        var tempDate5 = dateStart5;
                                    }
                                    <option value="">请选择</option>
                                    @while (tempDate5 >= dateStart5 && tempDate5 <= dateEnd5)
                                    {
                                        <option value="@(tempDate5.ToString("yyyy/MM/dd"))">@tempDate5.ToString("yyyy年MM月dd日")</option>
                                        tempDate5 = tempDate5.AddDays(1);
                                    }
                                </select>
                            </div>
                        </li>
                        <li>
                            <label>水表性质</label>
                            <div class="vocation">
                                @Html.Action("_EnumSelect", "Common", new { className = "Customer+MeterNatureEnum", namespaces = "Kongt.Model", name = "MeterNature", cssClass = "select3" })
                            </div>
                        </li> 
                        <li>
                            <label>备注信息</label>
                            <input name="DESCRIPTION" type="text" class="scinputbz" />
                        </li>
                    </ul>
                </div>
            </div> 
            <div class="tipbtnfh">
                @Html.Hidden("ParentId", "")
                <input name="" type="button" class="surefh" value="添加" />
                &nbsp;
                <input name="" type="button" class="cancelfh" value="取消" />
            </div>
        </div>
    </form>


    <!--删除用户-->
    <div class="tipdel">
        <div class="tiptopdel"><span>提示信息</span><a></a></div>
        <div class="tipinfodel">
            <span><img src="/images/ticon01.png" /></span>
            <div class="tiprightdel">
                <p>确定要删除选中的用户吗？</p>
                <cite>如果是请点击确定按钮 ，否则请点取消。</cite>
            </div>
        </div>
        <div class="tipbtndel">
            <input name="" type="button" class="suredel" value="确定" />
            &nbsp;
            <input name="" type="button" class="canceldel" value="取消" />
        </div>
    </div>

    <!--修改用户-->
    <form id="form2" method="post">
        <div class="tipmodify">
            <div class="tiptopmodify"><img src="/images/t06.png" /><span>修改用户</span><a></a></div>
            <div class="tipinfomodify">
                <div class="tiprightmodify">
                    <ul class="seachform">
                        <li>
                            <label>用户编号</label>
                            <input name="CustomerId" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>用户姓名</label>
                            <input name="CustomerName" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>身份证号</label>
                            <input name="PersonId" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>联系电话</label>
                            <input name="LinkPhone" type="text" class="scinput" />
                        </li>

                        @Html.Action("_LinkArea", "Common", new { firstAreaId = "asdfasdfasdfasdf", secondAreaId = "bdssssss" })

                        <li>
                            <label>详细地址</label>
                            <input name="DetailAddress" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>水表编号</label>
                            <input name="MeterNo" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>水表初值</label>
                            <input name="MeterStart" type="text" class="scinput" />
                        </li>
                        <li>
                            <label>用户状态</label>
                            <div class="vocation">
                                @Html.Action("_EnumSelect", "Common", new { className = "Customer+CustomStatEnum", namespaces = "Kongt.Model", name = "CustomerStat", cssClass = "select3" })
                            </div>
                        </li>
                        <li>
                            <label>房屋类型</label>
                            <div class="vocation">
                                @Html.Action("_EnumSelect", "Common", new { className = "Customer+HouseTypeEnum", namespaces = "Kongt.Model", name = "HouseType", cssClass = "select3" })
                            </div>
                        </li>
                        @Html.Action("_WaterType", "Common", new { id = "aaaaa12312312312" })
                        <li>
                            <label>抄表人员</label>
                            <div class="vocation">
                                @Html.Action("_Employees", "Common", new { cssClass = "select3" })
                            </div>
                        </li>
                        <li>
                            <label>开户日期</label>
                            <div class="vocation">
                                <select class="select3" name="OpenAccountDate">
                                    @{
                                        var dateStart1 = DateTime.Now.AddDays(-DateTime.Now.Day).AddDays(1);
                                        var dateEnd1 = DateTime.Now.AddMonths(1).AddDays(-DateTime.Now.Day);
                                        var tempDate1 = dateStart1;
                                    }
                                    <option value="">请选择</option>
                                    @while (tempDate1 >= dateStart1 && tempDate1 <= dateEnd1)
                                    {
                                        <option value="@(tempDate1.ToString("yyyy/MM/dd"))">@tempDate1.ToString("yyyy年MM月dd日")</option>
                                        tempDate1 = tempDate1.AddDays(1);
                                    }
                                </select>
                            </div>
                        </li>
                        <li>
                            <label>水表性质</label>
                            <div class="vocation">
                                @Html.Action("_EnumSelect", "Common", new { className = "Customer+MeterNatureEnum", namespaces = "Kongt.Model", name = "MeterNature", cssClass = "select3" })
                            </div>
                        </li> 

                        <li>
                            <label>备注信息</label>
                            <input name="DESCRIPTION" type="text" class="scinputbz" />
                        </li>
                    </ul>

                </div>
            </div>
            <div class="tipbtnmodify">
                @Html.Hidden("Id", "")  @Html.Hidden("ParentId", "")
                <input name="" type="button" class="suremodify" value="保存" />
                &nbsp;
                <input name="" type="button" class="cancelmodify" value="取消" />
            </div>
        </div>

    </form>
    <!--分表用户修改-->
    <div class="tipfhmodify">
        <div class="tiptopfhmodify"><img src="/images/t06.png" /><span>修改分表</span><a></a></div>
        <div class="tipinfofhmodify">
            <div class="userinfozbmodify">
                <dt class="userinfozbtitmodify">总表信息</dt>
                <ul>
                    <li>
                        <label>用户编号</label>
                        <input name="" type="text" class="scinput" />
                    </li>
                    <li>
                        <label>&nbsp;&nbsp;用户姓名</label>
                        <input name="" type="text" class="scinput" />
                    </li>
                    <li>
                        <label>&nbsp;水表性质</label>
                        <input name="" type="text" value="总表" class="scinput" disabled="disabled" style="background:#EFEFEF" />
                    </li>
                </ul>
            </div>
            <div class="tiprightfhmodify">
                <dt class="userinfofhtitmodify">分表信息</dt>
                <ul class="seachform">
                    <li>
                        <label>用户编号</label>
                        <input name="" type="text" class="scinput" />
                    </li>
                    <li>
                        <label>用户姓名</label>
                        <input name="" type="text" class="scinput" />
                    </li>
                    <li>
                        <label>身份证号</label>
                        <input name="" type="text" class="scinput" />
                    </li>
                    <li>
                        <label>联系电话</label>
                        <input name="" type="text" class="scinput" />
                    </li>
                    <li>
                        <label>区域分布</label>
                        <div class="vocation">
                            <select class="select3">
                                <option>一级区域</option>
                                <option>中上线</option>
                                <option>中下线</option>
                                <option>东线</option>
                                <option>西线</option>
                                <option>中下线平房</option>
                                <option>东线平房</option>
                                <option>西线平房</option>
                            </select>
                        </div>
                    </li>
                    <li>
                        <label>区域名称</label>
                        <div class="vocation">
                            <select class="select3">
                                <option>二级区域</option>
                                <option>东路工行行</option>
                                <option>图书馆</option>
                                <option>科协</option>
                                <option>传输局</option>
                            </select>
                        </div>
                    </li>
                    <li>
                        <label>详细地址</label>
                        <input name="" type="text" class="scinput" />
                    </li>
                    <li>
                        <label>水表编号</label>
                        <input name="" type="text" class="scinput" />
                    </li>
                    <li>
                        <label>水表初值</label>
                        <input name="" type="text" class="scinput" />
                    </li>
                    <li>
                        <label>用户状态</label>
                        <div class="vocation">
                            <select class="select3">
                                <option>正常</option>
                                <option>报停</option>
                                <option>欠费</option>
                                <option>销户</option>
                            </select>
                        </div>
                    </li>
                    <li>
                        <label>房屋类型</label>
                        <div class="vocation">
                            <select class="select3">
                                <option>楼房</option>
                                <option>平房</option>
                                <option>商铺</option>
                                <option>洗车洗浴</option>
                            </select>
                        </div>
                    </li>
                    <li>
                        <label>用水类别</label>
                        <div class="vocation">
                            <select class="select3">
                                <option>居民生活用水</option>
                                <option>非居民生活用水</option>
                                <option>特种用水</option>
                            </select>
                        </div>
                    </li>
                    <li>
                        <label>抄表人员</label>
                        <div class="vocation">
                            <select class="select3">
                                <option>张三</option>
                                <option>李四</option>
                            </select>
                        </div>
                    </li>
                    <li>
                        <label>开户日期</label>
                        <div class="vocation">
                            <select class="select3">
                                <option>2017年1月2日</option>
                            </select>
                        </div>
                    </li>
                    <li>
                        <label>备注信息</label>
                        <input name="" type="text" class="scinputbz" />
                    </li>
                </ul>
            </div>
        </div>
        <div class="tipbtnfhmodify">
            <input name="" type="button" class="surefhmodify" value="添加" />
            &nbsp;
            <input name="" type="button" class="cancelfhmodify" value="取消" />
        </div>
        <script type="text/javascript">
            $('.tablelist tbody tr:odd').addClass('odd');
        </script>
    </div>
</body>
</html>
